package com.yc.Testjvm.classload.demo;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;

public class Test {
	public static String ms = "cc"; 
	
	public void m() {
		try {
			InputStream is = new FileInputStream("/Users/yc/ws/source/HelloWord.class");
			byte[] b = new byte[is.available()];
			is.read(b);
			is.close();
			System.out.println(JavaClassExecuter.execute(b));
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	

	public static void main(String[] args) {
		Test t = new Test();
		t.m();

	}

}
